package com.qr.bean.wmyh;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:29
 */
@ApiModel(value = "jbr_user_sales_records_detail", description = "销售记录明细")
@TableName(value = "jbr_user_sales_records_detail")
public class JbrUserSalesRecordsDetail implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "入账金额")
	@TableField(value="advance")
	private BigDecimal advance;
	@ApiModelProperty(value = "出账金额")
	@TableField(value="outs")
	private BigDecimal outs;
	@ApiModelProperty(value = "日期")
	@TableField(value="date")
	private Date date;
	@ApiModelProperty(value = "实际入账")
	@TableField(value="actual_entry")
	private BigDecimal actual_entry;
	@ApiModelProperty(value = "子订单id")
	@TableField(value="sub_order_id")
	private Integer sub_order_id;
	@ApiModelProperty(value = "子订单号")
	@TableField(value="sub_order_num")
	private String sub_order_num;
	@ApiModelProperty(value = "说明（下单，取消订单，售后退款）")
	@TableField(value="desc")
	private String desc;
	@ApiModelProperty(value = "用户id")
	@TableField(value="user_id")
	private Integer user_id;
	@ApiModelProperty(value = "团长id")
	@TableField(value="superior_one_id")
	private Integer superior_one_id;
	@ApiModelProperty(value = "汇总id，关联销售明细")
	@TableField(value="sale_id")
	private Integer sale_id;
	@ApiModelProperty(value = "记录生成时间")
	@TableField(value="add_time")
	private Timestamp add_time;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public BigDecimal getAdvance() {
		return advance;
	}
	public void setAdvance(BigDecimal advance) {
		this.advance = advance;
	}
 
	public BigDecimal getOuts() {
		return outs;
	}
	public void setOuts(BigDecimal outs) {
		this.outs = outs;
	}
 
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
 
	public BigDecimal getActual_entry() {
		return actual_entry;
	}
	public void setActual_entry(BigDecimal actual_entry) {
		this.actual_entry = actual_entry;
	}
 
	public Integer getSub_order_id() {
		return sub_order_id;
	}
	public void setSub_order_id(Integer sub_order_id) {
		this.sub_order_id = sub_order_id;
	}
 
	public String getSub_order_num() {
		return sub_order_num;
	}
	public void setSub_order_num(String sub_order_num) {
		this.sub_order_num = sub_order_num;
	}
 
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Integer getSuperior_one_id() {
		return superior_one_id;
	}
	public void setSuperior_one_id(Integer superior_one_id) {
		this.superior_one_id = superior_one_id;
	}
 
	public Integer getSale_id() {
		return sale_id;
	}
	public void setSale_id(Integer sale_id) {
		this.sale_id = sale_id;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}

}